package com.quanquan.user.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @ClassName:TemplateId
 * @Description:TODO
 * @Author:xiongjunbao
 * @Date:2019/5/14 11:32
 * @Version 1.0
 */
@Data
@Entity
@Table(name = "oo_template_id")
public class TemplateId implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id", unique = true, length = 64)
    private String id;
    /**
     * 模板类型 1-会员注册 2-积分变动 3-停车支付通知 4-活动开始通知
     */
    private Integer type;
    /**
     * 模板名称
     */
    private String name;
    /**
     * 1-未生效 0-生效
     */
    private Integer status;
    /**
     * 模板id
     */
    private String templateId;
    /**
     * 模板推送完毕后需要跳转的小程序页面
     */
    private String page;

}
